package com.googlecode.lightest.studio

/**
 * A test suite is defined by one or more filters and/or lists of tests. Formal
 * test suites are the opposite of temporary suites, which may be created on
 * the fly by the user.
 */
class TestSuite {
    String name
    String description
    boolean temporary

    static hasMany = [
        testFilters: TestFilter,
        tests: Test,
        testSuiteResults: TestSuiteResult
    ]
    
    static constraints = {
        name (blank: false)
    }
    
    String toString() {
        return name
    }
}
